/*
 * MIT License
 *
 * Copyright (c) 2024 恩爸编程
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.enba.boot.encrypt.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "encryption.rsa")
public class RsaEncryptionProperties {

  private String publicKey =
      "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCWRhu8iwpikkvECjWTidxQ4V87MpwN93lJhoVD+DafW347wR2PRskYJIVZrTpfAWdPM64pzlCZafkiPo8kmE13ruQf8lEj9Ludjqq4mJvUR/eqbhmnGz9S33UyVn52o9YNvWPeS9UQ0cM2qWPNlpXpVQG4F9vR4BbCOzkzL12bPwIDAQAB";
  private String privateKey =
      "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAJZGG7yLCmKSS8QKNZOJ3FDhXzsynA33eUmGhUP4Np9bfjvBHY9GyRgkhVmtOl8BZ08zrinOUJlp+SI+jySYTXeu5B/yUSP0u52OqriYm9RH96puGacbP1LfdTJWfnaj1g29Y95L1RDRwzapY82WlelVAbgX29HgFsI7OTMvXZs/AgMBAAECgYBRPoYwYVuz/zRHQN3GbnpWoAJElxAX3PwN7FSQctnVPjn5RGce1z5Rdy1BVo6AXtnj0CURJSIeT1UKVpg9SLpYbgVoHWZhW6SXYBBVBL4rY2RtL/jRn/x6gjWDio8OjyPSRe/ZVvBvvOHkMOkr8J3bz9Thx9DzaIHm48vnCL3gQQJBANFPjmmcsrYf1CV0evp3JNc+9ZsLt+/UYG+yh4i2mnRpAQlAXVDBM1nvJ+XsqCWvzBhX+bIAqYG31Fh37JdTyQMCQQC3y1HCZqbA6A/k9zN3RzEEwDddYuPVtnmG0qLxQGyzT3IED9tVD4ojfDFO5m+HXtQFHIZMDqKMkrkhVUiGjAoVAkAv0Tj7r6y0JrlUhTPDHIzyD5QUg6zVwXL2kZadCPpoNcTi1C19UWXl2dkHkfUoBu1dclu86qHO3KxKObt3JtD5AkAPQ7inn6Tr0po3VvyURHpivaAbhnILttsDAo174fDlN4ztn2+E8gR0DAWAWw0aPhr3zbWtrW18pVbw2MdsPUc9AkAO10x7H5ZULl61aWrgIGLV2H0ObR1k205w7SS+PJ+5JXlyU+W1WkucLtkAZS3tiW56ZqYaOD3f0GaZZUhD37aK";

  public String getPublicKey() {
    return publicKey;
  }

  public void setPublicKey(String publicKey) {
    this.publicKey = publicKey;
  }

  public String getPrivateKey() {
    return privateKey;
  }

  public void setPrivateKey(String privateKey) {
    this.privateKey = privateKey;
  }
}
